/**
 * Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.springblade.modules.monitor.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;
import springfox.documentation.annotations.ApiIgnore;

/**
 * 实体类
 *
 * @author Blade
 * @since 2020-06-04
 */
@Data
@TableName("blade_t_knowleadge")
@ApiModel(value = "Knowleadge对象", description = "Knowleadge对象")
public class Knowleadge implements Serializable {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.AUTO)
	@ApiModelProperty(value = "id")
	private Integer id;
	@ApiModelProperty(value = "知识库种类")
	private Long kindId;
	@ApiModelProperty(value = "知识标题")
	private String title;
	@ApiModelProperty(value = "关键字")
	private String keyword;
	@ApiModelProperty(value = "内容")
	private String content;
	@ApiModelProperty(value = "创建人Id;入参无需传递")
	private Long createUser;
	@ApiModelProperty(value = "创建时间;入参无需传递")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createTime;
	@ApiModelProperty(value = "更新时间;入参无需传递")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime updateTime;
}
